/*
 * Copyright (c) 2012 Sqpoll.
 * All rights reserved.
 */
package com.yglab.sqpoll.model;

import java.io.Serializable;
import java.util.Date;

/**
 * This class is a model for survey section.
 * 
 * @author Younggue Bae
 */
@SuppressWarnings("serial")
public class Section implements Serializable {

	private int surveyId;
	private int sectionId;
	private int sequence;
	private String title;
	private String instruction;
	private String options;
	private String createUserId;
	private String updateUserId;
	private Date createDate;
	private Date updateDate;
	
	public int getSurveyId() {
		return surveyId;
	}
	public void setSurveyId(int surveyId) {
		this.surveyId = surveyId;
	}
	public int getSectionId() {
		return sectionId;
	}
	public void setSectionId(int sectionId) {
		this.sectionId = sectionId;
	}
	public int getSequence() {
		return sequence;
	}
	public void setSequence(int sequence) {
		this.sequence = sequence;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getInstruction() {
		return instruction;
	}
	public void setInstruction(String instruction) {
		this.instruction = instruction;
	}
	public String getOptions() {
		return options;
	}
	public void setOptions(String options) {
		this.options = options;
	}
	public String getCreateUserId() {
		return createUserId;
	}
	public void setCreateUserId(String createUserId) {
		this.createUserId = createUserId;
	}
	public String getUpdateUserId() {
		return updateUserId;
	}
	public void setUpdateUserId(String updateUserId) {
		this.updateUserId = updateUserId;
	}
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	public Date getUpdateDate() {
		return updateDate;
	}
	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}
	
	@Override
	public String toString() {
		return "Section [surveyId=" + surveyId + ", sectionId=" + sectionId + ", sequence=" + sequence + ", title="
				+ title + ", instruction=" + instruction + ", options=" + options + ", createUserId=" + createUserId
				+ ", updateUserId=" + updateUserId + ", createDate=" + createDate + ", updateDate=" + updateDate + "]";
	}
	
}
